package com.project.bean;

import java.time.LocalDate;

public class ClassBean {
    //    id
    private Integer id;
    //    班级名字
    private String name;
    //    开班时间
    private LocalDate startDate;
    //    带班老师
    private String teacher;

    private String d;

    public ClassBean() {
    }

    public ClassBean(String name, String teacher,LocalDate startDate) {
        this.name = name;
        this.teacher = teacher;
        this.startDate = startDate;
    }

    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", startDate=" + startDate +
                ", teacher='" + teacher + '\'' +
                '}' + "\n";
    }

}
